package com.qsbc.pygram.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qsbc.pygram.entity.Teacher;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qsbc.pygram.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author baomidou
 * @since 2022-11-14
 */
@Mapper
public interface TeacherMapper extends BaseMapper<Teacher> {
    Page<Teacher> findPage(Page<Teacher> page, @Param("username") String username);
}
